// 题目列表请求
export interface ProblemListRequest {
  page: number;
  size: number;
}

// 代码运行请求
export interface CodeRunRequest {
  code: string;
  language: string;
  input: string;
}

// 代码提交请求
export interface CodeSubmitRequest {
  problemId: string;
  code: string;
  language: string;
}

// 题目详情请求（通过ID获取）
export interface ProblemDetailRequest {
  id: string;
}

// 分页请求
export interface PageDTO {
  page: number;
  size: number;
}


// 测试用例接口
export interface TestCase {
  input: string;
  expectedOutput: string;
}

// 执行代码请求接口
export interface ExecuteCodeRequest {
  code: string;
  inputList: TestCase[];
  language: string;
  isAiJudge: boolean;
  isACM: boolean;
  topics?: string;
}